//
//  UIColor+Extension.swift
//  HZJTextView
//
//  Created by HZJ on 17/1/10.
//  Copyright © 2017年 HZJ. All rights reserved.
//

import UIKit

extension UIColor {
    /**
     *生成随机色
     */
    class func randomColor() ->UIColor {
        return UIColor(red: CGFloat(arc4random_uniform(255))/255.0, green: CGFloat(arc4random_uniform(255))/255.0, blue: CGFloat(arc4random_uniform(255))/255.0, alpha: 1.0)
    }
}
